package com.logic.landseaserver.common.exception;

import com.logic.common.exception.BusinessException;
import com.logic.landseaserver.common.LandseaErrorMessageEnum;

/**
 * @Author: Wells.Wei
 * @Date: 2017/4/12
 * @Description:
 */
public class LandseaBusinessException extends BusinessException
{
    private static final long serialVersionUID = -4730463171203134601L;
    
    public LandseaBusinessException()
    {
    }
    
    public LandseaBusinessException(String msg)
    {
        super(msg);
    }
    
    public LandseaBusinessException(LandseaErrorMessageEnum landerrorMessageEnum, Object... param)
    {
        super(landerrorMessageEnum.getDesc());
        this.errorCode = landerrorMessageEnum.getCode();
        this.param = param;
    }
}
